import IndexModel from '@/models/newsIndex';
import GalleryModel from '@/models/gallery';
import { HttpRequest } from 'xo-web-base';

export default class GalleryService {
    /**
     * 列表
     * @param pageNumber
     * @param pageSize
     * @returns
     */
    static list(option) {
        return HttpRequest.post<GalleryModel>('/mini/gallery/list',
            option
        )
    }

      

    /**
     * 详情
     * @param id
     * @returns
     */
    static info(id: any) {
        return HttpRequest.post<GalleryModel>('/mini/gallery/info', {
            id: id,
        });
    }
}